package com.xp.code.vo;

import java.io.Serializable;

/**
 * 
 * @author HAHA
 *
 */
public class UnitInfoVO implements Serializable {

	private String id;
	private String varname;
	private String varcode;
	private String parentid;
	private String fullcode;
	private String address;
	private String owner;
	private String conname;
	private String conphone;
	private String province;
	private String city;
	private String validdate;
	private String createdate;
	private String remark;
	private int errnum;
	private String errmsg;
	
	public UnitInfoVO() {
		
	}
	
	public UnitInfoVO(int errnum, String errmsg) {
		super();
		this.errnum = errnum;
		this.errmsg = errmsg;
	}

	public UnitInfoVO(String id, String varname, String varcode,
			String parentid, String fullcode, String address, String owner,
			String conname, String conphone, String province, String city,
			String validdate, String createdate, String remark) {
		super();
		this.id = id;
		this.varname = varname;
		this.varcode = varcode;
		this.parentid = parentid;
		this.fullcode = fullcode;
		this.address = address;
		this.owner = owner;
		this.conname = conname;
		this.conphone = conphone;
		this.province = province;
		this.city = city;
		this.validdate = validdate;
		this.createdate = createdate;
		this.remark = remark;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getVarname() {
		return varname;
	}

	public void setVarname(String varname) {
		this.varname = varname;
	}

	public String getVarcode() {
		return varcode;
	}

	public void setVarcode(String varcode) {
		this.varcode = varcode;
	}

	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid;
	}

	public String getFullcode() {
		return fullcode;
	}

	public void setFullcode(String fullcode) {
		this.fullcode = fullcode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getConname() {
		return conname;
	}

	public void setConname(String conname) {
		this.conname = conname;
	}

	public String getConphone() {
		return conphone;
	}

	public void setConphone(String conphone) {
		this.conphone = conphone;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getValiddate() {
		return validdate;
	}

	public void setValiddate(String validdate) {
		this.validdate = validdate;
	}

	public String getCreatedate() {
		return createdate;
	}

	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getErrnum() {
		return errnum;
	}

	public void setErrnum(int errnum) {
		this.errnum = errnum;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	
}
